<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="hs" uri="http://hishen.org"%>
<%
	String base = request.getContextPath();
	String res = base + "/resource";
	pageContext.setAttribute("base", base);
	pageContext.setAttribute("admin", base + "/admin");
	pageContext.setAttribute("res", res);
	pageContext.setAttribute("script", res + "/script");
	//no page cache
	// 	response.addHeader("Cache-Control", "no-cache");
	// 	response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:00 GMT");	
	response.setHeader("Pragma", "No-cache");//HTTP 1.1 
	response.setHeader("Cache-Control", "no-cache");//HTTP 1.0 
	response.setHeader("Expires", "0");//no proxy
%>
